import request from "../utils/request";

// 用户登录
export const getLogin = (params) => request.post("/wechat/login", params)
// 用户退出登录
export const logout = (params) => request.get("/wechat/logout", params)
// 获取验证码
export const sendCode = (params) => request.post(`/wechat/sendCode`, params)

// 登陆前调用
export const loginWechat = (params) => request.post(`/wechat/loginWechat`, params)
// 解密手机号
export const decryptPhone = (params) => request.post(`/wechat/decryptPhone`, params)